package com.liyu.iblog.dao.jpa;

import javax.persistence.EntityManagerFactory;
import javax.persistence.Persistence;

public final class EMF {
    public static final EntityManagerFactory emfInstance = 
        Persistence.createEntityManagerFactory("transactions-optional");
    
    public EMF() {
        
    }
    
    public static EntityManagerFactory get() {
        return emfInstance;
    }
}
